﻿using Syspetro.Core.AppDeal;
using Syspetro.Core.GoogleAuth;
using Syspetro.Core.SysInterface;
using System;
using System.Threading.Tasks;

namespace BJ.AuthDomain.IService
{
    public interface IGoogleAuthService: ITransientService
    {
        Task<SpActionResult<bool>> Validate(string code);
        Task<SpActionResult<GoogleBindingModel>> GenerateBind(Guid uid);
        Task<SpActionResult<GoogleBindingModel>> Generate();
        Task<SpActionResult< bool>> Bind(string Captcha);
    }
}
